﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SU.Center.Domain.RBAC
{
    /// <summary>
    /// 角色与权限表
    /// </summary>
    public class RolePermissions: BaseField
    {
        /// <summary>
        /// 角色与权限表Id
        /// </summary>
        [Key]
        public int RolePermissionsId { get; set; }

        ///角色Id
        /// </summary>
        public int RoleId { get; set; }

        /// <summary>
        /// 权限Id
        /// </summary>
        public int PermissionId { get; set; }
    }
}
